public class sb1{
int wight ;
int hight ;
double radius;
static double p=3.14;
public  void jk1(int wight,int hight){
this.wight=wight;
this.hight=hight;
System.out.println("长方形面积为"+(wight*hight));
}
public void jk2(double radius){
System.out.println("圆面积为"+(radius*p*radius));
}
public  void obj(){
if(wight==hight)
System.out.println("是正方形"+wight+hight);
}
}